package com.lovo.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @description: 用户预存款消费明细实体类
 * @author: real_ygs
 * @date: 3/3/2023 4:35 PM
 **/
@TableName(value = "t_user_money_buy")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class UserMoneyBuyEntity implements Serializable {

    /**
     * 消费id
     **/
    @TableId(type = IdType.AUTO)
    private Long buyId;
    /**
     * 用户预存款表id
     **/
    private Long depositId;
    /**
     * 消费类别
     **/
    private int buyType;
    /**
     * 消费金额
     **/
    private float buyMoney;
    /**
     * 消费时间
     **/
    private String buyTime;
}
